import React, { Component } from 'react'
import { useParams } from 'react-router-dom'

export default function Detail() {
  const { id } = useParams()
  console.log(id)
  return <h5>detail的内容~~~{id}</h5>
}
